/**
 * @Author: 徐铭泽
 * @Date: 2019/11/5
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 新增或更新数据
export const saveMasterFileInfos = params => axios.post(`${SERVER.VEHICLE}/basic/masterFile/saveMasterFileInfos`, params);
// 获取主页面列表数据
export const searchMasterFileInfos = params => axios.get(`${SERVER.VEHICLE}/basic/masterFile/searchMasterFileInfos`, { params });
// 获取主页面列表数据
export const getColorInfoByTypeAndSeries = params => axios.get(`${SERVER.VEHICLE}/basic/masterFile/getColorInfoByTypeAndSeries`, { params });
// 获取主页面列表数据
export const getModelInfoBySeries = params => axios.get(`${SERVER.VEHICLE}/basic/masterFile/getModelInfoBySeries`, { params });
// 获取主页面列表数据
export const getSeriesInfo = params => axios.get(`${SERVER.VEHICLE}/basic/masterFile/getSeriesInfo`, { params });
